import React from 'react';
import style from './style.styl';
import cx from 'classnames';
import {Button} from 'sq-ui'
import cookie from 'component-cookie';

class Export extends React.Component {
  constructor(props) {
    super(props);
    this.displayName = 'Export';
  }
  render() {
    
    return (
      <div className={style['container-layout']} style={{width:'684px'}}>
        <form action={'/export/roster-csv'} method="post">
          <input type="hidden" name="X-Access-Token" value={cookie('X-Access-Token')}/>
          <input type="hidden" name="X-Refresh-Token" value={cookie('X-Refresh-Token')}/>
          <Button label="导出" blue/>
        </form>
      </div>
    );
  } 
}

export default Export;
